export default {
  namespaced: true,
  state: {
    count: 5,
  },
  getters: {},
  mutations: {
    addCount(state,newValue){
        state.count += 1;
    },
    miunsCount(state,newValue){
        state.count -= 1;
    }
  },
  actions: {
    addCountAsync({commit},value){
        commit('addCount',value)
    },
    miunsCountAsync({commit},value){
        commit('miunsCount',value)
    }
  },
};
